package edu.fdzc.learn.mapper;

import edu.fdzc.learn.entity.Comments;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    void insertComment(Comments comment);

    Comments findById(int id);

    void delete(int id);

    List<Comments> fandall(int discussionId);
}
